
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public class Equation extends org.xteam.parser.runtime.AstNode {
	
	
	protected Expr left;
	protected Relop relop;
	protected Expr right;
	
	public Equation(Span span, Expr left,Relop relop,Expr right) {
		super(span);
		this.left = left;
		this.relop = relop;
		this.right = right;
	}
	
	
	public Expr getLeft() {
		return left;
	}
	
	public void setLeft(Expr left) {
		this.left = left;
	}
	
	public Relop getRelop() {
		return relop;
	}
	
	public void setRelop(Relop relop) {
		this.relop = relop;
	}
	
	public Expr getRight() {
		return right;
	}
	
	public void setRight(Expr right) {
		this.right = right;
	}
	

	public void visit(ISledVisitor visitor) {
		visitor.visitEquation(this);
	}
}
